/*
 * Copyright 2015 JBoss, by Red Hat, Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@sprite .whiteTopLeftCornerClass {
    gwt-image: 'images.whiteTopLeftCorner';
    height: 4px;
    width: 4px;
}

@sprite .whiteTopRightCornerClass {
    gwt-image: 'images.whiteTopRightCorner';
    height: 4px;
    width: 4px;
}

@sprite .whiteBottomLeftCornerClass {
    gwt-image: 'images.whiteBottomLeftCorner';
    height: 4px;
    width: 4px;
}

@sprite .whiteBottomRightCornerClass {
    gwt-image: 'images.whiteBottomRightCorner';
    height: 4px;
    width: 4px;
}

.whiteBottomClass {
    border-bottom: 1px solid #bbbbbb;
    height: 3px;
    width: 100%;
}

.whiteTopClass {
    border-top: 1px solid #bbbbbb;
    height: 3px;
    width: 100%;
}

.whiteSideLeftClass {
    border-left: 1px solid #bbbbbb;
    height: 100%;
    width: 3px;
}

.whiteSideRightClass {
    border-right: 1px solid #bbbbbb;
    height: 100%;
    width: 3px;
}

.whiteCenterClass {
}

@sprite .greyTopLeftCornerClass {
    gwt-image: 'images.greyTopLeftCorner';
    height: 4px;
    width: 4px;
}

@sprite .greyTopRightCornerClass {
    gwt-image: 'images.greyTopRightCorner';
    height: 4px;
    width: 4px;
}

@sprite .greyBottomLeftCornerClass {
    gwt-image: 'images.greyBottomLeftCorner';
    height: 4px;
    width: 4px;
}

@sprite .greyBottomRightCornerClass {
    gwt-image: 'images.greyBottomRightCorner';
    height: 4px;
    width: 4px;
}

@sprite .greyBottomClass {
    gwt-image: 'images.greyBottom';
    height: 4px;
    width: 100%;
}

@sprite .greyTopClass {
    gwt-image: 'images.greyTop';
    height: 4px;
    width: 100%;
}

@sprite .greySideLeftClass {
    gwt-image: 'images.greySideLeft';
    height: 100%;
    width: 4px;
}

@sprite .greySideRightClass {
    gwt-image: 'images.greySideRight';
    height: 100%;
    width: 4px;
}

.greyCenterClass {
    background: #E3E3E3;
}

.clean-textarea {
    border: none !important;
    width: 95%;
}

.busy-popup {
    width: 300px;
}

.busy-popup span {
    padding-left: 15px;
    vertical-align: text-top;
}

@external .spinner;

.busy-popup .spinner {
    margin-top: -3px;
}

.titleTextCellContainer {
    height: 32px;
    vertical-align: middle;
    display: table-cell;
}

.titleTextCellDescription {
    font-size: smaller;
    font-style: italic;
}

.dataGrid td div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dataGridHeader {

}

.dataGridHeader thead th {
    overflow: hidden;
    text-overflow: ellipsis;
}

.dataGridContent {
    border-top: none;
}

.dataGridRow:first-child td {
    border-top: none;
}

.columnPickerPopup {
    background-color: #FFFFFF;
    padding: 5px;
    border: 1px solid #d1d1d1;
    z-index: 2000;
}

@external .checkbox;

.columnPickerPopup .checkbox {
    margin-top: 2px;
    margin-bottom: 2px;
}

.columnPickerButton {

}

/* Styles prefixed with uf- are not obfuscated and can be overridden in application stylesheets. */
@external .btn-file;

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: literal("alpha(opacity=0)");
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.btn-file > i + span {
    padding-left: 2px;
}

.btn-file > span + i {
    padding-left: 2px;
}